package com.jvm.oom;

/**
 * @author: csh
 * @Date: 2021/1/12 18:21
 * @Description:
 * 默认大小11419
 * 设置栈大小：-Xss256k:count:2465
 *
 */
public class StackErrorTest {
    private static int count = 1;
    public static void main(String[] args) {
        System.out.println(count);
        count++;
        main(args);

    }
}
